<?php
class Demo
{
	public static $class;
	public $name;
	public function __construct($name)
	{
		$this->name = $name;
	}
	public function getName()
	{
		echo $this->name.self::$class;
	}
}
Demo::$class='1.5';
$obj = new Demo('lisi');
echo $obj->getName();
$obj = new Demo('wangwu');
echo $obj->getName();
